import bb.cascades 1.3

Container {
    
    verticalAlignment: VerticalAlignment.Center
    horizontalAlignment: HorizontalAlignment.Center
    
    function start(){
        loader.running = loader.visible = true
    }
    
    function stop(){
        loader.running = loader.visible = false
    }
    ActivityIndicator {
        id: loader
        preferredHeight: 100
        preferredWidth: 100
    }
}
